package com.ruoyi.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 用户签到视图对象 p_user_sign
 *
 * @author ruoyi
 * @date 2022-08-05
 */
@Data
@ApiModel("用户签到视图对象")
@ExcelIgnoreUnannotated
public class PUserSignVo {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    @ApiModelProperty("")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 签到积分
     */
    @ExcelProperty(value = "签到积分")
    @ApiModelProperty("签到积分")
    private Long signScore;

    /**
     * 累计签到天数
     */
    @ExcelProperty(value = "累计签到天数")
    @ApiModelProperty("累计签到天数")
    private Long seriesDays;

    /**
     * 可补签的次数
     */
    @ExcelProperty(value = "可补签的次数")
    @ApiModelProperty("可补签的次数")
    private Long signNums;

    /**
     * 类型 0 签到 1 消费
     */
    @ExcelProperty(value = "类型 0 签到 1 消费")
    @ApiModelProperty("类型 0 签到 1 消费")
    private String type;

    /**
     * 签到时间
     */
    @ExcelProperty(value = "签到时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "common_type")
    @ApiModelProperty("签到时间")
    private Date signTime;

    /**
     * 0 用户 1 司机
     */
    @ExcelProperty(value = "0 用户 1 司机", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "common_type")
    @ApiModelProperty("0 用户 1 司机")
    private String userType;


}
